package com.example.emos.api.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author jl
 * @since 2021/11/2 21:26
 */
@Data
@Schema
public class SearchAmectByIdForm {
    @NotNull
    @Min(value = 1, message = "id不能小于1")
    @Schema(description = "罚款记录ID")
    private Integer id;
}
